package com.thememaker.lockstyle.bean.ui;


import com.thememaker.lockstyle.bean.command.Normal;
import com.thememaker.lockstyle.bean.command.Pressed;
import com.thememaker.lockstyle.bean.command.Triggers;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by yiyi.zheng on 2018/6/26.
 */
@XmlRootElement(name = "Button")
public class Button extends BaseView {
    private Triggers triggers;
    private Normal normal;
    private Pressed pressed;
    private String align;
    private String alignV;

    @XmlElement(name = "Triggers")
    public Triggers getTriggers() {
        return triggers;
    }

    public void setTriggers(Triggers triggers) {
        this.triggers = triggers;
    }

    @XmlElement(name = "Normal")
    public Normal getNormal() {
        return normal;
    }

    public void setNormal(Normal normal) {
        this.normal = normal;
    }

    @XmlElement(name = "Pressed")
    public Pressed getPressed() {
        return pressed;
    }

    public void setPressed(Pressed pressed) {
        this.pressed = pressed;
    }

    @XmlAttribute(name = "align")
    public String getAlign() {
        return align;
    }

    public void setAlign(String align) {
        this.align = align;
    }

    @XmlAttribute(name = "alignV")
    public String getAlignV() {
        return alignV;
    }

    public void setAlignV(String alignV) {
        this.alignV = alignV;
    }
}
